package com.example.basicdemo.model.domain;

import com.alibaba.fastjson.JSONObject;
import com.isyscore.os.dev.api.IsyscoreObject;
import com.isyscore.os.dev.api.domain.PageQueryDomain;

import java.util.Date;
import java.util.List;

public class SysRoleDomain extends PageQueryDomain implements IsyscoreObject {
    private Integer id;

    private String name;

    private Integer type;

    private Integer status;

    private String operator;

    private Date gmtCreate;

    private String operateIp;

    /**
     * 应用标识码列表
     */
    private String appCodes;

    /**
     * 应用标识码_字符串
     */
    private String appCodeName;

    /**
     * 功能角色名称
     */
    private String aclName;

    /**
     * 数据权限角色名称
     */
    private String authName;

    /**
     * 最近修改时间
     */
    private String gmtModified;


    /**
     * 备注
     */
    private String remark;

    /**
     * 角色名称
     */
    private String roleName;

    private List<AclModuleDomain> aclList;

    public String getRoleName() {
        return roleName;
    }

    public SysRoleDomain setRoleName(String roleName) {
        this.roleName = roleName;
        return this;
    }

    public String getAppCodeName() {
        return appCodeName;
    }

    public SysRoleDomain setAppCodeName(String appCodeName) {
        this.appCodeName = appCodeName;
        return this;
    }

    public String getGmtModified() {
        return gmtModified;
    }

    public String getAppCodes() {
        return appCodes;
    }

    public SysRoleDomain setAppCodes(String appCodes) {
        this.appCodes = appCodes;
        return this;
    }

    public String getAclName() {
        return aclName;
    }

    public SysRoleDomain setAclName(String aclName) {
        this.aclName = aclName;
        return this;
    }

    public String getAuthName() {
        return authName;
    }

    public SysRoleDomain setAuthName(String authName) {
        this.authName = authName;
        return this;
    }

    public SysRoleDomain setGmtModified(String gmtModified) {
        this.gmtModified = gmtModified;
        return this;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getOperateIp() {
        return operateIp;
    }

    public void setOperateIp(String operateIp) {
        this.operateIp = operateIp;
    }


    public List<AclModuleDomain> getAclList() {
        return aclList;
    }

    public void setAclList(List<AclModuleDomain> aclList) {
        this.aclList = aclList;
    }

    @Override
    public String toString() {
        return JSONObject.toJSONString(this);
    }
}